(global.webpackJsonp = global.webpackJsonp || []).push([ [ "question/detail/success" ], {
    "290b": function(t, e, n) {
        n.r(e);
        var i = n("c0a1"), o = n.n(i);
        for (var r in i) "default" !== r && function(t) {
            n.d(e, t, function() {
                return i[t];
            });
        }(r);
        e.default = o.a;
    },
    "31d1": function(t, e, n) {},
    "56db": function(t, e, n) {
        n.r(e);
        var i = n("b149"), o = n("290b");
        for (var r in o) "default" !== r && function(t) {
            n.d(e, t, function() {
                return o[t];
            });
        }(r);
        n("e61c");
        var c = n("f0c5"), a = Object(c.a)(o.default, i.b, i.c, !1, null, "0c653b3a", null, !1, i.a, void 0);
        e.default = a.exports;
    },
    b149: function(t, e, n) {
        n.d(e, "b", function() {
            return i;
        }), n.d(e, "c", function() {
            return o;
        }), n.d(e, "a", function() {});
        var i = function() {
            this.$createElement;
            this._self._c;
        }, o = [];
    },
    bac9: function(t, e, n) {
        (function(t) {
            n("1067"), i(n("66fd"));
            var e = i(n("56db"));
            function i(t) {
                return t && t.__esModule ? t : {
                    default: t
                };
            }
            wx.__webpack_require_UNI_MP_PLUGIN__ = n, t(e.default);
        }).call(this, n("543d").createPage);
    },
    c0a1: function(t, e, n) {
        (function(t) {
            Object.defineProperty(e, "__esModule", {
                value: !0
            }), e.default = void 0;
            var i = n("26cb"), o = n("8434"), r = n("db8f"), c = n("9b63");
            function a(t, e) {
                var n = Object.keys(t);
                if (Object.getOwnPropertySymbols) {
                    var i = Object.getOwnPropertySymbols(t);
                    e && (i = i.filter(function(e) {
                        return Object.getOwnPropertyDescriptor(t, e).enumerable;
                    })), n.push.apply(n, i);
                }
                return n;
            }
            function u(t, e, n) {
                return e in t ? Object.defineProperty(t, e, {
                    value: n,
                    enumerable: !0,
                    configurable: !0,
                    writable: !0
                }) : t[e] = n, t;
            }
            var f = {
                computed: function(t) {
                    for (var e = 1; e < arguments.length; e++) {
                        var n = null != arguments[e] ? arguments[e] : {};
                        e % 2 ? a(Object(n), !0).forEach(function(e) {
                            u(t, e, n[e]);
                        }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : a(Object(n)).forEach(function(e) {
                            Object.defineProperty(t, e, Object.getOwnPropertyDescriptor(n, e));
                        });
                    }
                    return t;
                }({}, (0, i.mapGetters)([ "mainColor", "user" ])),
                data: function() {
                    return {
                        info: {},
                        data_id: "",
                        colorRgb: "",
                        checkClass: "",
                        img: ""
                    };
                },
                created: function() {
                    this.colorRgb = (0, r.colorRgba)(this.mainColor, .1);
                },
                onLoad: function(t) {
                    this.data_id = t.id, this.getDetail();
                },
                methods: {
                    discard: function() {},
                    open: function() {
                        var t = this, e = {
                            data_id: this.info.id
                        };
                        (0, c.paperCertInfo)(e).then(function(e) {
                            t.img = e.cert_url, t.checkClass = "show";
                        }).catch(function() {
                            console.log("生成证书失败了");
                        });
                    },
                    close: function() {
                        var t = this;
                        this.checkClass = "hide", setTimeout(function() {
                            t.checkClass = "none";
                        }, 200);
                    },
                    seeBig: function() {
                        var e = [];
                        e.push(this.img), t.previewImage({
                            urls: e,
                            longPressActions: {
                                itemList: [ "发送给朋友", "保存图片", "收藏" ],
                                success: function(t) {},
                                fail: function(t) {}
                            }
                        });
                    },
                    reTest: function() {
                        (0, o.route)({
                            url: "/question/detail/detail",
                            type: 3,
                            data: {
                                id: this.info.paper_id
                            }
                        });
                    },
                    getDetail: function() {
                        var t = this, e = {
                            data_id: this.data_id
                        };
                        (0, c.paperSuccess)(e).then(function(e) {
                            t.info = e;
                        });
                    },
                    zcAnwer: function() {
                        (0, o.route)({
                            url: "",
                            type: 3,
                            data: {}
                        });
                    },
                    rehome: function() {
                        (0, o.route)({
                            url: "/diy/diy/index",
                            type: 3,
                            data: {}
                        });
                    },
                    goPhb: function() {
                        (0, o.route)({
                            url: "/question/detail/champion",
                            type: 1,
                            data: {
                                paper_id: this.info.paper_id,
                                question_id: this.info.question_id
                            }
                        });
                    }
                }
            };
            e.default = f;
        }).call(this, n("543d").default);
    },
    e61c: function(t, e, n) {
        var i = n("31d1");
        n.n(i).a;
    }
}, [ [ "bac9", "common/runtime", "common/vendor" ] ] ]);